package com.bgs.mapper;

import com.bgs.common.R;
import com.bgs.pojo.ReturnGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * <p>
 * 退货表 Mapper 接口
 * </p>
 *
 * @author Asia
 * @since 2021-09-14
 */
public interface ReturnGoodsMapper extends BaseMapper<ReturnGoods> {
    //前台退货审核
    List<ReturnGoods> TowGetReturn();

    boolean zeroAddReturnGood(ReturnGoods returnGoods);

    List<ReturnGoods> zeroFindReturnGood3();

    boolean zeroUpdateReturnGood0(Integer returnGoodsId);

    boolean zeroAddshipping(ReturnGoods returnGoods);

    boolean zeroUpdateReturnGood1(Integer returnGoodsId);

    int TowReturnAdd(@Param("returnGoods") ReturnGoods returnGoods);
}
